<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div id="app">
    hello({{name}})wxy{{name}}
  </div>
  <script src="./dist/vue.js"></script>
  <script>
    // viewModel 
    // 典型mvvm   view  响应式的视图变化（vm）  model
    let vm = new Vue({
      el: '#app',
      data() {
        return {
          name: 'wxy'
        }
      }
    })
    setTimeout(() => {
      vm.name = 'hhh'
      // vm._update(vm._render())
    }, 1000)
  </script>
</body>

</html>